#pragma once

#include "Menu.h"
#include "IPanelDelegate.h"
#include "Global.h"

class SaveMenu : public Menu, public IPanelDelegate
{
public:
	SaveMenu(MenuManager* const i_menuManager);
	
	void Draw() const;
	bool Input(const std::string& i_input);
	void PanelWillClose(bool);

private:
	void CalculateSlots() const ;

	mutable bool m_slots[Consts::NUM_SAVE_SLOT];
	mutable std::string m_saveNames[Consts::NUM_SAVE_SLOT];
	bool m_overwrite;
	std::string m_fileName;
};
